/**
 * 
 */
package com.zhmy.xmgl;

import com.eos.system.annotation.Bizlet;
import com.zhmy.xmgl.ZHMY_PROJECT_MANAGE.ZhmySchedule;
import commonj.sdo.DataObject;

/**
 * @author Robert
 * @date 2018-05-30 18:43:45
 *
 */
@Bizlet("getPeopleList")
public class getPeopleList {
	
	@Bizlet("peoplelist2")
	public String getPeopleList22(DataObject[] list) {
		
		String allName = "";
		
		int count = list.length;
		System.out.println("count= "+count);
		for (int a = 0; a < count; a ++) {
			
			DataObject temp = list[a];
			ZhmySchedule te;
			System.out.println("in for"+temp);
			if (temp instanceof ZhmySchedule) {
				te = (ZhmySchedule)temp;
				
				System.out.println("in for 2");
				
				String tempHead = te.getScheduleHead()+",";
				String tempMember = te.getSchedultMember()+",";
				
				allName += tempHead + tempMember;
			}
		}
		
		System.out.println("allName= "+allName);
		
		//return 
		
	return "haha";
		
	}

}
